go off duty

Translations
снять дежурство
The police officer will go off duty at midnight.
Полицейский снимет дежурство в полночь.